
<div class="actions clearfix">
	<div>
	<h2>{{$Questionnaire['Questionnaire']['name']}}</h2>
	<small>{{$Questionnaire['Questionnaire']['created']}}</small>
	</div>
   <ul class="clearfix">
      <li  class="NewDocument"><?php echo $this->Html->link(__('编辑试卷新增题目'), array('controller' => $current_controller,'action'=>'edit',$id),array('target'=>'_blank','class'=>'btn btn-primary')); ?></li>
   	  
   </ul>
</div>
<STYLE type=text/css>
.select-option-list { list-style-type: none; margin: 0; padding: 0;}
.select-option-list li { margin: 0 3px 3px 3px; padding: 0px; padding-left: 1.5em; font-size: 1.4em;border:1px; }
.select-option-list li span { position: absolute; margin-left: -1.3em; }
button {margin:3px;}
table {width:auto;margin-bottom:0 !important;}
h4{font-size:18px;}
thead {background:#D7EBF9;line-height:24px}
.question-options {padding-left:10px;padding-top:5px;}
.question-options td,.question-options th {border:#ccc solid 1px;padding:5px 10px;}
#select-options-manage ,.ui-dialog .ui-dialog-content{height:auto;overflow:visible;}
label{margin-bottom:0px;}
input[type="radio"], input[type="checkbox"]{margin:0 0;}
.ui-state-default {
    border: 1px solid #D3D3D3;
    border-top: 3px solid #aaa;
}
</STYLE>
<script>
function deletequestion(obj){
	$('#question_'+obj.id).remove();
}
$(function(){
	$('[id^="tab-question-"]').tabs();
});
</script>

<div>{{$page_navi}}</div>

<div id="survey_question_list">
	{{$question_list}}
</div>
<div>{{$page_navi}}</div>

</div>